package com.itaq.cheetah.serviceA.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author cheetah
 * @date 2022/7/21
 */
@Data
@ApiModel
public class SsoCompanyInfo {

    @ApiModelProperty(value = "企业名称")
    @NotBlank(message = "企业名称不能为空!")
    @Length(max = 1024, message = "企业名称长度不大于1,024")
    private String partnerName;


    @ApiModelProperty(value = "统一社会信用代码")
    @NotBlank(message = "统一社会信用代码不能为空!")
    @Length(max = 256, message = "统一社会信用代码长度不大于256")
    private String businessLicense;

}
